﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="SwfUploadTest._Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
    <script src="js/jquery-1.3.2.min.js" type="text/javascript"></script>
    <script>
    $.ajax({
       type: "POST",
       url: "UploadService.asmx/HelloWorld",
       data: "name=test1",
       success: function(msg){
         alert( msg );
       },
       error:function(x,　e)　{　
　　        alert(e);　
        },
        complete:　function(x)　{　
　　　　　　alert(x.responseText);　
　　　　}
    }); 
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
    </div>
    </form>
</body>
</html>
